home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / Builders / BUILDERS / builder.h < prev    next >
Encoding:
Text File  |  1998-05-01  |  2.4 KB  |  70 lines

  1. * Include file for buildertemplate
  2.  
  3. #DEFINE C_DEBUG                    .f.
  4.  
  5. #DEFINE C_TIMERLIMIT            9
  6. #DEFINE MB_OK                    0                            && MessageBox codes
  7. #DEFINE MB_OKCANCEL                1
  8. #DEFINE MB_ABORTRETRYIGNORE     2
  9. #DEFINE MB_YESNOCANCEL            3
  10. #DEFINE MB_YESNO                4
  11. #DEFINE MB_RETRYCANCEL            5
  12. #DEFINE MB_TYPEMASK                5
  13.  
  14. #DEFINE MB_ICONHAND                16
  15. #DEFINE MB_ICONQUESTION            32
  16. #DEFINE MB_ICONEXCLAMATION      48
  17. #DEFINE MB_ICONASTERISK         64
  18. #DEFINE MB_ICONMASK                240
  19.  
  20. #DEFINE MB_ICONINFORMATION      64
  21. #DEFINE MB_ICONSTOP             16
  22.  
  23. #DEFINE MB_DEFBUTTON1            0
  24. #DEFINE MB_DEFBUTTON2            256
  25. #DEFINE MB_DEFBUTTON3            512
  26. #DEFINE MB_DEFMASK                3840
  27.  
  28. #DEFINE MB_APPLMODAL            0
  29. #DEFINE MB_SYSTEMMODAL            4096
  30. #DEFINE MB_TASKMODAL            8192
  31.  
  32. #DEFINE MB_NOFOCUS                32768
  33.  
  34. #DEFINE MB_RET_OK                1                            && MessageBox return values
  35. #DEFINE MB_RET_CANCEL            2
  36. #DEFINE MB_RET_ABORT            3
  37. #DEFINE MB_RET_RETRY            4
  38. #DEFINE MB_RET_IGNORE            5
  39. #DEFINE MB_RET_YES                6
  40. #DEFINE MB_RET_NO                7
  41.  
  42. #DEFINE ERRORTITLE_LOC        "Microsoft Visual FoxPro Builders"
  43.  
  44. #DEFINE ERRORMESSAGE_LOC ;
  45.     "Error #" + alltrim(str(m.nError)) + " in " + ;
  46.     PROPER(m.cMethod) + " (" + alltrim(str(m.nLine)) + "): " + m.Bldrmsg
  47.  
  48. #DEFINE C_UNSUPPORTED_LOC    "Your control is set to a property that the builder does not support: "
  49. #DEFINE C_NOGRIDBLDRS_LOC    "Your control is in a grid column, and this is not supported by the registered builder."
  50. #DEFINE C_NOSELOBJ_LOC        "The container object is being edited and no control is currently selected."
  51. #DEFINE C_WRONGCLASS_LOC    "This builder cannot find a selected control with an appropriate base class."
  52. #DEFINE C_NOFORM_LOC        "No form found for selected control."
  53. #DEFINE C_FILEWORD_LOC        "File '"
  54. #DEFINE C_NOFINDWORD_LOC    "' not found."
  55. #DEFINE C_SELBLDR_LOC        "Select Builder program:"
  56. #DEFINE C_OPEN_LOC            "Open"
  57. #DEFINE C_MSGNAME_LOC        "Name:  "
  58. #DEFINE C_MSGTYPE_LOC        "Type:  "
  59. #DEFINE C_MSGCLASS_LOC        "Class:  "
  60. #DEFINE C_MSGPARENT_LOC        "Parent Class:  "
  61. #DEFINE C_MSGBASE_LOC        "Base Class:  "
  62. #DEFINE C_BADPROP_LOC        "One or more properties affected by this builder are unavailable, and may be protected. " + ;
  63.                             "Do you want to continue?"
  64.                             
  65. #DEFINE MB_YESNO            4
  66.  
  67. #define C_VERS5_LOC         "The Builders require Visual FoxPro 5.0 or higher."
  68. #define C_BUILD5            290            &&minimum 5.0 build to check for
  69. #define C_VERSION            "5.0"        &&Version use use by PSS -- hold mouse down for 1 second on Help button
  70.